package com.ee.chat.admin.service;

import com.ee.chat.common.bean.Result;
import com.ee.chat.common.entity.AdminUser;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IAdminUserService {
    Result list(HttpServletRequest request, Integer page, Integer limit) throws Exception;

    Result del(HttpServletRequest request, List<Integer> ids) throws Exception;

    Result toEdit(HttpServletRequest request, Integer id) throws Exception;

    Result edit(HttpServletRequest request, AdminUser adminUser) throws Exception;

    Result save(HttpServletRequest request, AdminUser adminUser) throws Exception;

    Result restPwd(HttpServletRequest request, Integer id) throws Exception;

    Result changeStatus(HttpServletRequest request, Integer id) throws Exception;
}
